import request from '@/utils/request'

export function getPointsHistoryListByPage(data) {
  return request.get('/points/historyList', { params: data })
}

export function updatePoints(data) {
  return request.put('/points', data)
}
